package com.ruoyi.his.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 挂号收费对象 his_patient
 * 
 * @author ruoyi
 * @date 2021-11-04
 */
public class HisPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** UUID自动生成,随机 */
    private String id;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDatetime;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 就诊卡ID */
    @Excel(name = "就诊卡ID")
    private String cardId;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 病人名称 */
    @Excel(name = "病人名称")
    private String name;

    /** 民族 */
    @Excel(name = "民族")
    private String nationality;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 电话 */
    @Excel(name = "电话")
    private String telphone;

    /** 职业 */
    @Excel(name = "职业")
    private String career;

    /** 家族史 */
    @Excel(name = "家族史")
    private String familyHistory;

    /** 婚姻状态 */
    @Excel(name = "婚姻状态")
    private String maritalStatus;

    /** 既往史 */
    @Excel(name = "既往史")
    private String pastHistory;

    /** 个人史 */
    @Excel(name = "个人史")
    private String personalHistory;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDatetime(String createDatetime) 
    {
        this.createDatetime = createDatetime;
    }

    public String getCreateDatetime() 
    {
        return createDatetime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setBirthday(String birthday) 
    {
        this.birthday = birthday;
    }

    public String getBirthday() 
    {
        return birthday;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNationality(String nationality) 
    {
        this.nationality = nationality;
    }

    public String getNationality() 
    {
        return nationality;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setTelphone(String telphone) 
    {
        this.telphone = telphone;
    }

    public String getTelphone() 
    {
        return telphone;
    }
    public void setCareer(String career) 
    {
        this.career = career;
    }

    public String getCareer() 
    {
        return career;
    }
    public void setFamilyHistory(String familyHistory) 
    {
        this.familyHistory = familyHistory;
    }

    public String getFamilyHistory() 
    {
        return familyHistory;
    }
    public void setMaritalStatus(String maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public String getMaritalStatus() 
    {
        return maritalStatus;
    }
    public void setPastHistory(String pastHistory) 
    {
        this.pastHistory = pastHistory;
    }

    public String getPastHistory() 
    {
        return pastHistory;
    }
    public void setPersonalHistory(String personalHistory) 
    {
        this.personalHistory = personalHistory;
    }

    public String getPersonalHistory() 
    {
        return personalHistory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDatetime", getCreateDatetime())
            .append("address", getAddress())
            .append("birthday", getBirthday())
            .append("cardId", getCardId())
            .append("idCard", getIdCard())
            .append("name", getName())
            .append("nationality", getNationality())
            .append("sex", getSex())
            .append("telphone", getTelphone())
            .append("career", getCareer())
            .append("familyHistory", getFamilyHistory())
            .append("maritalStatus", getMaritalStatus())
            .append("pastHistory", getPastHistory())
            .append("personalHistory", getPersonalHistory())
            .toString();
    }
}
